
#pragma once

#include "base/core/singleton.h"
#include "Common/TableDefine.h"


class CampDestiny_choiceCfg : public ManualSingleton <CampDestiny_choiceCfg>
{
	friend ManualSingleton <CampDestiny_choiceCfg>;
public:
	CampDestiny_choiceCfg();
	~CampDestiny_choiceCfg();
	bool Init(const char *szCfgFile, const char *szSplitChar);
	bool UnInit();
	void Clear();
	const CampDestiny_choiceCfgInfo *GetCampDestiny_choiceCfgInfo(int32_t destinyId);
	const CampDestiny_choiceCfgMap *GetCampDestiny_choiceCfgMap() { return &m_CampDestiny_choiceCfgMap; }
private:
	CampDestiny_choiceCfgMap m_CampDestiny_choiceCfgMap;
};

#define  g_MakeCampDestiny_choiceCfgTable() (CampDestiny_choiceCfg::Instance())
#define  g_GetCampDestiny_choiceCfgTable() (CampDestiny_choiceCfg::GetInstance())
#define  g_DelCampDestiny_choiceCfgTable() (CampDestiny_choiceCfg::Destroy())